home *** CD-ROM | disk | FTP | other *** search
Text File | 2000-09-28 | 656 b | 27 lines | [TEXT/MMCC] |
- // ===========================================================================
- // CGrayBox.h ©1995 Apple Computer, Inc. All rights reserved.
- // ===========================================================================
-
- #pragma once
-
- #include <LView.h>
-
- const RGBColor mLtGray = {0xAAAA, 0xAAAA, 0xAAAA};
-
-
- class CGrayBox : public LView {
- public:
- enum { class_ID = 'gBox' };
-
- static CGrayBox* CreateGrayBoxStream(LStream *inStream);
- CGrayBox(LStream *inStream);
-
- virtual void Draw(RgnHandle inSuperDrawRgnH);
-
- protected:
- Boolean mDrawGrayBkgrnd;
-
- virtual void DrawSelf();
- virtual void ApplyForeAndBackColors();
- };
-